#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>
int my_strlen(const char* str)
{
	assert(str != NULL);
	int len = 0;
	while (*str++)
		len++;
	return len;
}
int main()
{
	char string[] = "hello bit";
	int len = my_strlen(string);
	printf("%d\n", len);
	return 0;
}